
@font-face {
  font-family: 'Tengwar';
  src: url('https://tlotd.net/u/[assets]/font_tengwar.ttf') format("truetype");
}

.font_tengwar{
  font-family: Tengwar;
}

@font-face {
  font-family: 'Cirth';
  src: url('https://tlotd.net/u/[assets]/font_cirth.ttf') format("truetype");
}

.font_cirth{
  font-family: Cirth;
}

@font-face {
  font-family: 'Iokharic';
  src: url('https://tlotd.net/u/[assets]/font_iokharic.ttf') format("truetype");
}

.font_iokharic{
  font-family: Iokharic;
}

html {background-color: #000000; background-image: url(background.png); background-attachment:fixed; background-size: cover; background-repeat: no-repeat; background-position-x: center;}

a {text-decoration:none;}

#search_user{
  background: none;
  border-width: 0;
  color: #ffffff;
  font-family: 'Rubik', sans-serif;
  font-size: large;
  width: 100%;
  height: 100%;
}

.search_user_button_td{
  width: 20px;
}

.search_user_td{
  height: 100%;
}

.search_profile_button{
  padding-top: 10px;
  margin-right: 1%;
  text-align: right;
}

#search_user_button{
  width: 20px;
  margin: 10%;
  margin-bottom: 0;
}

.search_bar{
  background: rgba(26, 26, 26, 0.50);
  border-radius: 7px;
  min-width: 250px;
  width: 50%;
  height: 100%;
  padding-left: 1%;
}

.search_bar_wrapper{
  flex: auto;
  height: 50px;
}

.menu_bar_search{
  width: 96%;
  height: 2%;
  font-size: large;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 7px;
  padding: 2%;
  margin-bottom: 2%;
  display: flex;
}

.beta{
  width: 94%;
  font-size: large;
  color: #ffffff;
  text-align: center;
  background: #c80000;
  border-radius: 7px;
  padding: 1%;
  margin-top: 2%;
  margin-left: 2%;
}

.menu_bar{
  width: 96%;
  font-size: large;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 7px;
  padding: 2%;
  margin-bottom: 2%;
  display: flex;
}

.back_button{
  margin-top: 4px;
  text-align: left;
  flex: auto;
}

.profile_button{
  text-align: right;
}

.menuprofilepicture {
  height:30px;
  border-radius: 50%;
  float: left
}

.menuusername{
  padding-top: 4px;
  padding-left: 34px;
  color: #d6d6d6;
}

.box{
  height: 100%;
  width: 100%;
  font-family: 'Rubik', sans-serif;
}

.profile{
  background: rgba(0, 0, 0, 0.95);
  border-radius: 7px;
  padding: 1%;
  display: flex;
  column-gap: 10px;
  width: 98%;
}

.side{
  width: 30%;
  height: fit-content;
  text-align: center;
  box-sizing: border-box;
  margin: 1%;
}

.profiletext{
  width: 70%;
  height: fit-content;
  text-align: center;
  box-sizing: border-box;
}

.profilepicture{
  border-radius: 50%;
  width: 100%;
}

.centrepfp {
  text-align: center;
  width: 100%;
}

.badges{
  background: rgba(26, 26, 26, 0.50);
  border-radius: 7px;
  margin-top: 1%;
  padding-top: 2%;
  padding-left: 3%;
  padding-right: 3%;
  padding-bottom: 1%;
}

.groups{
  background: rgba(26, 26, 26, 0.50);
  border-radius: 7px;
  margin-top: 1%;
  padding: 4%;
  padding-bottom: 2.5%;
  margin-top: 3%;
  color: #d6d6d6;
  font-size: large;
}

.group{
  display: flex;
}

.group_image{
  width: 30%;
}

.grouppicture{
  border-radius: 7px;
  width: 100%;
}

.joined{
  background: rgba(26, 26, 26, 0.50);
  border-radius: 7px;
  margin-top: 1%;
  padding: 2%;
  margin-top: 3%;
  color: #d6d6d6;
  font-size: large;
}

.connections{
  background: rgba(26, 26, 26, 0.50);
  border-radius: 7px;
  margin-top: 1%;
  padding: 2%;
  margin-top: 3%;
  color: #d6d6d6;
  font-size: large;
}
.connection_list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 1%;
}

.connection_image{
  height:24px;
}

.connection{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  width: 32px;
}

.discord{ background: rgba(88, 101, 242, 0.5); border-radius: 7px; }
.youtube{ background: rgba(255, 0, 0, 0.5); border-radius: 7px; }
.steam{ background: rgba(13, 33, 80, 0.5); border-radius: 7px; }
.reddit{ background: rgba(255, 68, 0, 0.5); border-radius: 7px; }
.spotify{ background: rgba(0, 216, 86, 0.5); border-radius: 7px; }
.twitch{ background: rgba(100, 65, 165, 0.5); border-radius: 7px; }
.github{ background: rgba(14, 17, 23, 0.5); border-radius: 7px; }
.instagram{ background: rgba(255, 77, 136, 0.5); border-radius: 7px; }
.twitter{ background: rgba(0, 125, 253, 0.5); border-radius: 7px; }
.bluesky{ background: rgba(0, 125, 253, 0.5); border-radius: 7px; }
.tiktok{ background: rgba(0, 0, 0, 0.5); border-radius: 7px; }
.afpa{ background: rgba(0, 0, 0, 0.5); border-radius: 7px; }
.lambda_generation{ background: rgba(14, 17, 23, 0.5); border-radius: 7px; }

.name_box{
  font-size: xx-large;
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
  background: rgba(26, 26, 26, 0.50);
  border-radius: 7px;
  padding: 10px;
  margin: 1%;
  padding: 1%;
}

.custom_name{
  font-size: x-large;
}

.username{
  display: flex;
  color: #d6d6d6;
  font-size: large;
  justify-content: center;
}

.badge {
 height:28px;
}

.badgeintext {
  height:16px;
}

.bio{
  background: rgba(26, 26, 26, 0.50);
  border-radius: 7px;
  margin: 1%;
  padding: 1%;
}

.biotext{
  font-size:large;
  color: #ffffff;
  text-align: left;
  padding-bottom: 2%;
}

.biotitle{
  font-size:large;
  color: #d6d6d6;
  text-align: center;
}

.stats{
  display: flex;
  width: 100%;
  margin-bottom: 1%;
}

.numberstext{
  color: #d6d6d6;
  font-size: large;
  width: 33%;
  height: fit-content;
  text-align: center;
  box-sizing: border-box;
  background: rgba(26, 26, 26, 0.50);
  border-radius: 7px;
  padding: 10px;
  margin-left: 1%;
  margin-right: 1%;
}

.numbers{
  color: #ffffff;
  font-size: xx-large;
}

.postlist{
  margin-top: 1%;
  width: 96%;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 7px;
  padding: 2%;
}

.postheader{
  display: flex;
  align-items: center;
  margin-bottom: 3%;
}

.postheadertext{
  display: flex;
  flex-direction: column;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 3%;
}

.whitetext{
  color: #ffffff;
}

.graytext{
  color: #d6d6d6;
}

.postdescription{
  display: flex;
  flex-direction: row;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 2%;
}

.postdate{
  color: #d6d6d6;
  font-size: medium;
}

.posttitle{
  font-size: 64px;
  color: #d6d6d6;
  text-align: center;
  margin-bottom: 2%;
}

@media screen and (max-width: 600px){
  .group_details{
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 1.5%;
    font-size: x-small;
  }
}

@media screen and (min-width: 600px) and (max-width: 700px){
  .group_details{
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 1.5%;
    font-size: small;
  }
}

@media screen and (min-width: 700px) and (max-width: 800px){
  .group_details{
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 1.5%;
    font-size: medium;
  }
}

@media screen and (min-width: 800px) and (max-width: 1000px){
  .group_details{
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 1.5%;
    font-size: large;
  }
}

@media screen and (max-width: 1000px){

  .mainbox {
    height: 100%;
  }

  .followerrow{
    width: 100%;
  }

  .followerheader{
    border-radius: 7px;
    display: flex;
    justify-content: left;
    margin-bottom: 1%;
    padding: 1%;
    background-color: rgb(50, 50, 50);
  }

  .postrow{
    width: 100%;
  }

  .posts{
    width: 100%;
    box-sizing: border-box;
  }

  .postprofilepicture{
    height: 68px;
    border-radius: 50%;
    margin-right: 2%;
  }

  .postgrouppicture{
    height: 68px;
    border-radius: 7px;
    margin-right: 2%;
  }

  .verifiedauthor{
    display: flex;
    padding-right: 32px;
  }

  .postauthor{
    display: flex;
    font-size: xx-large;
    color: #ffffff;
  }

  .postauthorbadge {
    height:32px;
    position: absolute;
    bottom: 2.5px;
    left: 4px;
  }

  #terraria_handle{
    font-family: Andy Bold;
    font-size: 38px
  }

  .postcollabconnector{
    color: #d6d6d6;
    font-size: xx-large;
    padding-left: 2%;
    padding-right: 2%;
  }

  .postheaderinfo{
    color: #d6d6d6;
    font-size: x-large;
  }

  .postcaption{
    display: flex;
    color: #d6d6d6;
    font-size: xx-large;
    padding-left: 1%;
  }
  
  .postcaption_centred{
    text-align: center;
    width: 100%;
    color: #d6d6d6;
    font-size: xx-large;
  }

}

@media screen and (min-width: 1000px){

  .group_details{
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 1.5%;
    font-size: x-large;
  }

  .mainbox {
    padding: 2%;
    border-radius: 7px;
    height: 100%;
  }

  .followerrow{
    display: flex;
    width: 100%;
    column-gap: 1%;
  }

  .followerheader{
    width: 100%;
    border-radius: 7px;
    display: flex;
    justify-content: middle;
    margin-bottom: 1%;
    padding: 1%;
    background-color: rgb(50, 50, 50);
  }

  .postrow{
    display: flex;
    width: 100%;
    column-gap: 1%;
  }

  .posts{
    width: 33%;
    box-sizing: border-box;
  }

  .postprofilepicture{
    height: 32px;
    border-radius: 50%;
    margin-right: 2%;
  }

  .postgrouppicture{
    height: 32px;
    border-radius: 7px;
    margin-right: 2%;
  }

  .verifiedauthor{
    display: flex;
    padding-right: 16px;
  }

  .postauthor{
    display: flex;
    font-size: large;
    color: #ffffff;
  }

  .postauthorbadge {
    height:16px;
    position: absolute;
    bottom: 2.5px;
    left: 2px;
  }

  #terraria_handle{
    font-family: Andy Bold;
    font-size: 21px
  }

  .postcollabconnector{
    color: #d6d6d6;
    font-size: large;
    padding-left: 2%;
    padding-right: 2%;
  }

  .postheaderinfo{
    color: #d6d6d6;
    font-size: medium;
  }

  .postcaption{
    display: flex;
    color: #d6d6d6;
    font-size: large;
    padding-left: 1%;
  }
  
  .postcaption_centred{
    text-align: center;
    width: 100%;
    color: #d6d6d6;
    font-size: large;
  }

}

.followerbadge {
  height:24px;
  position: absolute;
  bottom: -2px;
  left: 2px;
}

.minibadge {
  height:16px;
  position: absolute;
  bottom: 2.5px;
  left: 2px;
}

.post{
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 7px;
}

.pixelated_post{
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: 0.3s;
  image-rendering: pixelated;
  border-radius: 7px;
}

.post:hover {opacity: 0.7;}

.pixelated_post:hover {opacity: 0.7;}

.heart{
  margin-top: 2%;
  width: 10%;
}

.heart:hover {opacity: 0.7;}

.share{
  margin-top: 2%;
  margin-left: 2%;
  width: 10%;
}

.game_grids{
  display: flex;
  width: 100%;
  margin-bottom: 1%;
}

.game_grid{
  color: #d6d6d6;
  font-size: large;
  height: fit-content;
  text-align: center;
  box-sizing: border-box;
  padding-left: 1%;
  padding-right: 1%;
}

.scaleimage{
  border-radius: 7px;
  width: 100%;
}

.tooltip {
  width: fit-content;
  padding-left: 1.5px;
  padding-right: 1.5px;
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 110px;
  background-color: rgb(50, 50, 50);
  color: #fff;
  text-align: center;
  font-size:small;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -55px;
  margin-bottom: -6px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgb(50, 50, 50) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.followerlist{
  width: 100%;
  column-gap: 2%;
  margin-bottom: 1.5%;
}

.followerprofilepicture {
  height:60px;
  border-radius: 50%;
  float: left
}

.followergrouppicture {
  height:60px;
  border-radius: 7px;
  float: left
}

.followername{
  padding-top: 10px;
  padding-left: 65px;
  font-size: xx-large;
  color: #d6d6d6;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content, #caption {  
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0.1)} 
  to {transform: scale(1)}
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.textpage {
  font-size: large;
  color: #d6d6d6;
  margin: 5%;
}

.faq-question{
  color: #ffffff;
  font-size: x-large;
  margin-top: 3%;
  margin-bottom: 1%;
}

@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

#login {
  font-weight: bold;
  font-size: large;
  color: #ffffff;
  border-radius: 15px;
  height: 110%;
  margin-bottom: 3%;
}

#login-help {
  margin-top: 8%;
}

#main-holder {
  display: grid;
  justify-items: center;
  align-items: center;
}
  
#login-error-msg-holder {
  width: 100%;
  height: 100%;
  margin: 4% 2% 2% 2%;
  display: grid;
  justify-items: center;
  align-items: center;
}
  
#login-error-msg {
  width: 23%;
  text-align: center;
  margin: 0;
  padding: 5px;
  font-size: medium;
  font-weight: bold;
  color: #8a0000;
  border: 1px solid #8a0000;
  background-color: #e58f8f;
  opacity: 0;
}
  
#login-form {
  align-self: flex-start;
  display: grid;
  justify-items: center;
  align-items: center;
  width: 50%;
}
#login-header {
  margin:20px;
  font-weight: bold;
}
.login-form-field::placeholder {
  color: white;
}
  
.login-form-field {
  width: 95%;
  height: 70%;
  border: none;
  border-bottom: 1px solid #111111;
  margin-top: 3%;
  margin-bottom: 12%;
  border-radius: 1%;
  padding-left: 5%;
  outline: none;
  color: white;
  font-weight: bold;
  background-color: #111111;
}
  
#login-form-submit {
  margin-top: 3%;
  width: 100%;
  height: 150%;
  padding: 7px;
  border: none;
  border-radius: 5px;
  color: #111111;
  font-weight: bold;
  background-color: white;
  cursor: pointer;
  outline: none;
}

#afpa-login {
  font-weight: bold;
  font-size: 15px;
  color: #ffffff;
  background: #090909; 
  border-radius: 15px;
  border: 3px solid #000000;
  height: 110%;
  margin-bottom: 3%;
}

#afpa-login-help {
  margin-top: 5%;
  text-align: center;
}

#afpa-main-holder {
  display: grid;
  justify-items: center;
  align-items: center;
}
  
#afpa-login-error-msg-holder {
  width: 100%;
  height: 100%;
  margin: 20px;
  display: grid;
  justify-items: center;
  align-items: center;
  margin-bottom:20px
}
  
#afpa-login-error-msg {
  width: 23%;
  text-align: center;
  margin: 0;
  padding: 5px;
  font-size: medium;
  font-weight: bold;
  color: #8a0000;
  border: 1px solid #8a0000;
  background-color: #e58f8f;
  opacity: 0;
}
  
#afpa-login-form {
  align-self: flex-start;
  display: grid;
  justify-items: center;
  align-items: center;
}
#afpa-login-header {
  margin:20px;
  font-weight: bold;
}

#afpa-login-subheader {
  margin-bottom:20px;
  font-weight: bold;
}

.afpa-login-form-field::placeholder {
  color: white;
}
  
.afpa-login-form-field {
  border: none;
  border-bottom: 1px solid #111111;
  margin-bottom: 10px;
  border-radius: 3px;
  outline: none;
  padding: 0px 0px 5px 5px;
  color: white;
  font-weight: bold;
  background-color: #111111;
}
  
#afpa-login-form-submit {
  width: 100%;
  padding: 7px;
  border: none;
  border-radius: 5px;
  color: #111111;
  font-weight: bold;
  background-color: white;
  cursor: pointer;
  outline: none;
}